﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OrderManagement
{
    public class Product
    {
        public int ProductId { get; set; }
        public string ProductName { get; set; }

        public Product(int productId, string productName)
        {
            ProductId = productId;
            ProductName = productName;
        }

        public override string ToString()
        {
            return "商品编号：" + ProductId +
                   "\t商品名称：" + ProductName;
        }
    }
}